def length_exminaze(**dite):
    new_dict={}
    for key,value in dite.items():
        if len(value)>2:
          new_dict[key]=value[:2]
        else:
           new_dict[key]=value
    return new_dict
print(length_exminaze(a="hi",b="world"))
